<fieldset><legend><strong>Create New follow-Up</strong></legend>

<% form_tag ({:action => 'create_follow_up', :contact_id => @contact}, :id => "this-form" ) do %>

<div style="float:none;clear:both;">
	<div style="float:none;clear:both;">
		<span class="cell">
			<%= collection_select 'follow_up', 'follow_up_type_id', FollowUpType.find(:all), 'id', 'name' %>
		</span>
		<span id="close_contact_box" class="cell">
			<%= render :partial => "close_box" %>
		</span>
		<span class="cell" id="re_open_contact_box">
			<%= render :partial => "re_open_box" %>
		</span>
		
		<% if current_user.authorized_for_contact?(@contact) or current_user.responsible_for_contact?(@contact) %>
		<span class="cell">
			
			<span id="transfer-box">
				<%= render :partial => "transfer_box" %>
			</span>
		</span>

			
		<% end %>
	</div>
	<div style="float:none;clear:both;">
		<span class="cell">
			<label>Notes:</label><br>
			<%= text_area 'follow_up', 'notes', :rows => 2, :cols => 40 %>
		</span>
	</div>
	
	<div style="float:none;clear:both;">
		<%= submit_tag 'Create Follow-Up' %> <%= link_to_remote 'cancel', :url => {:action => 'hide_form', :contact => @contact} %>
	</div>
</div>


<% end %>
</fieldset>

<%= observe_form "this-form",
  	:url => {:action => 'follow_up_form_changed'} %>